<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 

<jsp:useBean id="myBean" class="chat.bean.MyBean" scope="request" />
<jsp:setProperty name="myBean" property="*" />
<jsp:setProperty name="myBean" property="yesNo" value="false" /> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP 와 Bean 사용법 데모 페이지</title>
</head>
<body>
	<h1>JSP 와 Bean 사용법 데모 페이지</h1>
	<h2><a href="../index.html">첫 페이지</a></h2>
	<form>
		bean getter 1 : <jsp:getProperty name="myBean" property="yesNo" /> <br/> 
		bean getter 2 : <jsp:getProperty name="myBean" property="name" /> <br/>
		name getter 3: <input type="text" name="name" size="40" value="${myBean.name}" /> <br/>
		<br/><pre><input type="submit" value="새로 고침" /></pre>
	</form>
</body>
</html>